import $ from "jquery";

export function list(type) {
    let res = [];
    $.ajax({
        url: "/notes/" + type,
        success(resp) {
            res = resp;
        },
    });
    return res;
}

